function Father() {};

function Son() {};

function inheritPrototype(f, s) {
    let prototype = Object.create(f.prototype);
    prototype.constructor =s;
    s.prototype = prototype;
};

inheritPrototype(Father, Son);

